﻿package de.gameduell.framework.modules.event
{
	import de.gameduell.net.src.communication.ServerMessageEvent;
	
	/**
	 * a round starts.
	 * go [currentRound] [custom fields] 
	 **/
	public class GoEvent extends NetworkEvent
	{
		public static const GO_EVENT:String = "go";

		// round to display (setup event contains max rounds)
		public var currentRound:int;
		
		public function GoEvent(event:ServerMessageEvent) {
			super(GO_EVENT);
			
			currentRound = event.parameters[0];
		}

	}
}